package com.zlhj.ex.Common;

import lombok.Data;

/**
 * @author zsx
 * @date 2021/06/16 9:47
 */
@Data
public class Res {

    private String code;
    private String msg;
    private Object data;

    public Res(String code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public Res(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Res() {
    }

    public Res(String msg) {
        this.msg = msg;
    }
}
